﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business.Reports
{
    public class CommonApprovalProcessSubDataDetailConfig
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        public Guid SubDataId { get; set; }

        public string BTID { get; set; }

        public string Field { get; set; }

        public string Name { get; set; }

        public string FieldType { get; set; }

        /// <summary>
        /// 是否查询项
        /// </summary>
        public bool IsSearchItem { get; set; } = false;

        public bool IsAccurate { get; set; }

        public int SortNum { get; set; }

        public string SelectItems { get; set; }

        /// <summary>
        /// 是否在列中显示
        /// </summary>
        public bool IsShowColumn { get; set; }

        /// <summary>
        /// 是否是外键，用来关联查询
        /// </summary>
        public bool IsForeignKey { get; set; }

        /// <summary>
        /// 列宽
        /// </summary>
        public int? ColumnWidth { get; set; }
    }
}
